package com.example.myDesignPatterns.创建者模式.原型模式.深克隆.bean;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Student implements Cloneable {
    private String name;
    private String city;
    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
